﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GadgetStore.Data.Models
{
    public class Picture
    {
        public int Id { get; set; }
        public string PictUrl { get; set; }
        public int GadgetId { get; set; }
        public virtual Gadget Gadget { get; set; }
        public Picture()
        {
        }
        public Picture(string pictUrl, int gadgetId)
        {
            PictUrl = pictUrl;
            GadgetId = gadgetId;
        }
    }
}
